<?php

/**
 * Albums form.
 *
 * @package    PHOTO_GALLERY
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class AlbumsForm extends BaseAlbumsForm {

    public function configure() {
        
//        $this->useFields(array("name", ));
        $this->getWidgetSchema()->setAttribute('id', 'albumForm');
        $this->widgetSchema['owner_id'] = new sfWidgetFormInputHidden();
        $this->widgetSchema['public'] = new sfWidgetFormInputCheckbox();
        $this->validatorSchema['public']  =   new sfValidatorBoolean();
//        $this->widgetSchema['public'] = new sfWidgetFormChoice(array('choices'=>array("public"), 
//                                                                    'multiple' => true,
//                                                                    'expanded' => true));
    }

}
